﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ZoomEngine.Animation
{
    public class IntFromToAnimation : FromToAnimation<int>
    {
        public IntFromToAnimation(ClockManager manager) :
            base(manager)
        {
        }

        protected override int Lerp(int from, int to, float progress)
        {
            return (int)(from + (to - from) * progress);
        }
    }
}
